﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO_HealthInsurance;
using DTO_HealthInsurance;

namespace BLL_HealthInsurance
{
   public class BLLPolicyApproval
    {
       DAOPolicyApproval objDAOPoApv = new DAOPolicyApproval();

        public DataTable ListPolicy()
        {
            return objDAOPoApv.ListPolicyApproval();
        }
        public int insertPolicy(DTOPolicyApprovalDetails objPoApv)
       {
           return objDAOPoApv.InsertPolicyApproval(objPoApv);
       }
        public int updatePolicy(DTOPolicyApprovalDetails objPoApv)
        {
            return objDAOPoApv.UpdatePolicyApproval(objPoApv);
        }
        public int deletePolicy(DTOPolicyApprovalDetails objPoApv)
        {
            return objDAOPoApv.DeletePolicyApproval(objPoApv);
        }
        public DataTable GetPolicyById(DTOPolicyApprovalDetails objPoApv)
        {
            return objDAOPoApv.GetPolicyApprovalById(objPoApv);
        }
    }
}
